const md5 = require('md5')
const {v4:uuidv4} = require('uuid')

module.exports = {
    generateId:() =>{
        return uuidv4();
    },
    getMd5Password:async(val,salt) =>{
        let passSalt = md5(md5(val)+salt);
        return passSalt;
    }
}